package com.limingru.online_class.common;

public enum ServiceResultEnum {

    SUCCESS("成功"),

    FAIL("失败"),

    USER_EXIST("用户已存在"),

    PHONE_OR_PWD_NOT_EMPTY("手机号或密码不能为空"),

    PHONE_OR_PWD_ERROR("手机号或密码错误"),

    TOKEN_EXPIRED("token过期，请重新登录");

    private String text;

    private ServiceResultEnum(String name) {
        this.text = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
